package com.yxhl.zoume.data.http.rest.param.tripsmgnt;

import com.yxhl.zoume.data.http.model.trips.TripPassenger;
import com.yxhl.zoume.data.http.rest.param.base.BaseRequestParam;

import java.util.List;

/**
 * Created by sugarya on 16/4/7.
 */
public class RefundTripParam extends BaseRequestParam {

    /**
     * 订单ID
     */
    private String id;

    private List<TripPassenger> refunds;

    public RefundTripParam(String mobile, String token, String id, List<TripPassenger> refunds) {
        super(mobile, token);
        this.id = id;
        this.refunds = refunds;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public List<TripPassenger> getRefunds() {
        return refunds;
    }

    public void setRefunds(List<TripPassenger> refunds) {
        this.refunds = refunds;
    }

    @Override
    public String toString() {
        return "RefundTripParam{" +
                "id='" + id + '\'' +
                ", refunds=" + refunds +
                '}';
    }
}
